package com.duan.laugh.msg;

import com.duan.laugh.common.security.annotation.EnableLaughResourceServer;
import com.duan.laugh.common.swagger.annotation.EnableLaughSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 消息服务
 *
 * @author duanjw
 */
@EnableLaughResourceServer
@EnableDiscoveryClient
@SpringBootApplication
@EnableLaughSwagger2
@EnableFeignClients(basePackages = {"com.duan.laugh.**.feign"})
public class LaughMsgApplication {
    public static void main(String[] args) {
        SpringApplication.run(LaughMsgApplication.class, args);
    }
}
